package service;

import org.dom4j.Document;

/**
 * 
 * @author Maurice & Topia
 *
 */
public class Autobus {

	/**
	 * Main test procedure
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			Admin.getInstance().addBusinessProcess("services/meteo.xml");
			Document doc = Router.getInstance().invoke("clientRequests/clientRequestTest1.xml", "meteo");
			System.out.println(doc);
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
